home *** CD-ROM | disk | FTP | other *** search
GW-BASIC | 1987-06-13 | 399 b | 22 lines |
- 10 SCREEN 1,1
- 20 COLOR 9,1
- 30 KEY OFF
- 40 CT = 1
- 50 PSET (160,100)
- 60 WHILE CT < 103
- 70 IF CT MOD 4 = 1 THEN LINE -STEP (CT,CT),1
- 80 IF CT MOD 4 = 2 THEN LINE -STEP (CT,-CT),1
- 90 IF CT MOD 4 = 3 THEN LINE -STEP (-CT,-CT),1
- 100 IF CT MOD 4 = 0 THEN LINE -STEP (-CT,CT),1
- 110 CT = CT + 1
- 120 WEND
- 130 LINE -STEP (-3,0),1
- 140 PAINT (160,99),2,1
- 150 LINE (220,100)-(223,100),1
- 160 PAINT (160,99),3,1
- 170 LOCATE 25,1
- 180 INPUT "Press ENTER to continue-";ANS$
- 190 SCREEN 0
- 200 WIDTH 80
- 210 KEY ON
-